#!/bin/sh

if [ "$USER" == "vdr" -a -f /etc/runvdr.conf ]; then
	source /etc/runvdr.conf
elif [ -f $HOME/.runvdrrc ]; then
	source $HOME/.runvdrrc
fi

if [ "$RUN_XINE" == "yes" ]; then
	killall -q xine
fi

killall -q vdr

if [ "$RUN_LSP" == "yes" ]; then
	killall -q lsp
fi

if [ "$RUN_NEWCAMD" == "yes" ]; then
	killall -q newcamd.i386
fi
